<mat-sidenav-container class="example-container">
  <mat-sidenav #sidenav mode="side">
    <!--<p>-->
      <!--<button mat-button (click)="sidenav.toggle()">Toggle</button>-->
    <!--</p>-->
    <mat-list>
      <mat-list-item><a routerLink="./" routerLinkActive="active"
                        [routerLinkActiveOptions]="{ exact: true }">基本信息</a></mat-list-item>
      <mat-divider></mat-divider>
      <mat-list-item><a routerLink="./editPassword" routerLinkActive="active">修改密码</a></mat-list-item>
      <mat-divider></mat-divider>
      <mat-list-item><a routerLink="./editInfo" routerLinkActive="active">修改资料</a></mat-list-item>
      <mat-divider></mat-divider>
    </mat-list>
    <mat-list *ngIf="authService.isCompany">
      <mat-list-item><a routerLink="./company/addPosition" routerLinkActive="active"
      >增加职位</a></mat-list-item>
      <mat-divider></mat-divider>
      <mat-list-item><a routerLink="./company/positionList" routerLinkActive="active"
      >职位列表</a></mat-list-item>
      <mat-divider></mat-divider>
      <mat-list-item><a routerLink="./company/appProcess" routerLinkActive="active"
      >申请处理</a></mat-list-item>
      <mat-divider></mat-divider>
    </mat-list>
    <mat-list *ngIf="authService.isTalent">
      <mat-list-item><a routerLink="./talent/addResume" routerLinkActive="active">增加简历</a>
      </mat-list-item>
      <mat-divider></mat-divider>
      <mat-list-item><a routerLink="./talent/resumeList" routerLinkActive="active">简历列表</a>
      </mat-list-item>
      <mat-divider></mat-divider>
      <mat-list-item><a routerLink="./talent/appResult" routerLinkActive="active">应聘结果</a>
      </mat-list-item>
    </mat-list>
  </mat-sidenav>
  <mat-sidenav-content>
    <p class="pl-3 pt-3">
      <button mat-button (click)="sidenav.toggle()" id="menue">菜单</button>
    </p>
    <router-outlet></router-outlet>
  </mat-sidenav-content>
</mat-sidenav-container>
